package com.yuanchu.store.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-01-24 16:10
 */
@Data
@NoArgsConstructor
public class Overview {
    private OverviewDetails orderTotalPrice;
    private OverviewDetails orderTotal;
    private OverviewDetails newUserTotal;
    private OverviewDetails consumeUserTotal;


    // 内部类用于存储yda和tda的数据
    // @Data

    @Data
    public static class OverviewDetails {
        private String tday;
        private String ytd;
        public OverviewDetails() {
        }
        public OverviewDetails(String ydaValue, String tdaValue) {
            this.ytd = ydaValue;
            this.tday = tdaValue;
        }
    }
}